/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'

const readMeter = {
  path: '/readMeter',
  component: Layout,
  redirect: '/readMeter/batchSettle',
  name: 'readMeter',
  meta: {
    title: '抄表管理',
    icon: 'el-icon-edit-outline',
    roles: [
      '抄表管理', '结算记录', '批量抄表结算'
    ]
  },
  children: [
    {
      path: 'batchSettle',
      component: () => import('@/views/readMeter/batchSettle'),
      name: 'BatchSettle',
      meta: { title: '批量抄表结算', noCache: true, roles: ['批量抄表结算'], keepAlive: true, isBack: false }
    },
    {
      path: 'report',
      component: () => import('@/views/readMeter/report'),
      name: 'Report',
      meta: { title: '结算记录', noCache: true, roles: ['结算记录'], keepAlive: true, isBack: false }
    }
  ]
}
export default readMeter
